#include "encode.h"
#include "iostream"

int main(int argc, char const *argv[])
{
    //0000 0011
    char a = 3;
    std::cout<<"a:"<<(int)a<<"\n";
    std::cout<<"a:";
    printBinary(a);
    char res = parityCheck(a);
    printBinary(res);
    std::cout<<(int)res;
    return 0;
}
